From 05bd60f03325099c2aa4b103269ce8427d354810 Mon Sep 17 00:00:00 2001 From: "djm@kirby.fc.hp.com" Date: Fri, 23 Sep 2005 13:49:44 -0600 Subject: [PATCH] Remove drivers/acpi/motherboard.c from sparse tree to match xen-unstable. For now, copy it from elsewhere (see note in xen-mkbuildtree-pre) --- linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre | 7 +++++++ .../{drivers/acpi => arch/ia64/xen/drivers}/motherboard.c | 0 2 files changed, 7 insertions(+) rename linux-2.6-xen-sparse/{drivers/acpi => arch/ia64/xen/drivers}/motherboard.c (100%) diff --git a/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre b/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre index 29191f14aa..52d66156a9 100755 --- a/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre +++ b/linux-2.6-xen-sparse/arch/ia64/xen-mkbuildtree-pre @@ -40,6 +40,13 @@ cp arch/ia64/xen/drivers/coreMakefile drivers/xen/core/Makefile cp arch/ia64/xen/drivers/xenia64_init.c drivers/xen/core cp arch/ia64/xen/drivers/evtchn_ia64.c drivers/xen/core +#this is a one-line change to avoid a nasty kernel crash resulting +#from a use of the FADT entry in the ACPI tree. The fake ACPI +#tree that Xen sets up for guests has a NULL FADT. This is a bug +#that needs to be fixed, at which point this can go away. In the +#meantime, this file needs to be updated if the real motherboard.c is +cp arch/ia64/xen/drivers/evtchn_ia64.c drivers/acpi/motherboard.c + #still a few x86-ism's in various drivers/xen files, patch them cd drivers/xen if [ ! -e ia64.patch.semaphore ] diff --git a/linux-2.6-xen-sparse/drivers/acpi/motherboard.c b/linux-2.6-xen-sparse/arch/ia64/xen/drivers/motherboard.c similarity index 100% rename from linux-2.6-xen-sparse/drivers/acpi/motherboard.c rename to linux-2.6-xen-sparse/arch/ia64/xen/drivers/motherboard.c -- 2.30.2